class UrlMappings {

	static mappings = {
		
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}

		"/"
        {
            controller = "question"
			action = "list"
        }
		
		"500"(view:'/error')
		//"
	}
}
